package com.baichuan.zntx.domain;

import com.baichuan.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 任务记录对象 t_task
 *
 * @author MaZhanliang
 * @date 2024-05-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_task")
public class Task extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private String id;

    /**
     * 设备
     */
    private String deviceId;

    /**
     * 任务类型
     */
    private Integer taskType;

    /**
     * 是否执行
     */
    private Integer status;

    /**
     * 执行时间
     */
    private LocalDateTime excuteTime;

    private LocalDateTime deadLine;
    private LocalDateTime startTime;

}
